package com.YYGH.exceltest;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    @ExcelProperty(value="编号", index=0)
    private Integer id;
    @ExcelProperty(value="姓名",index=1)
    private String name;
    @ExcelProperty(value="年龄",index=2)
    private Integer age;
}
